﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Hangout.Services.Core.PushNotification
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IPushNotification" in both code and config file together.
    [ServiceContract]
    public interface IPushNotificationService
    {
        [OperationContract]
        void Subscribe(int userId, Uri channelUri,string accesstoken);
        [OperationContract]
        void Unsubscribe(int userId, string accesstoken);
        [OperationContract]
        Hangout.Web.Model.PushNotification GetPushNotification(int userId, string accesstoken);
        [OperationContract]
        bool Exists(int userId, string accesstoken);

    }
}
